tree-wide: Squash noncritical compiler warnings
authorColin Walters <walters@verbum.org>
Fri, 24 Feb 2017 14:33:20 +0000 (09:33 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 24 Feb 2017 17:08:27 +0000 (17:08 +0000)
commit877a27da0fecc0b9e4ff3f79ae50efa32bbffd16
tree457267d53b96e6eb586d056beccbc0d30ce1b3b9
parenta71d550860e68be2b177d9016fe0227f1a547269
tree-wide: Squash noncritical compiler warnings

Should fix everything from
<https://kojipkgs.fedoraproject.org//packages/ostree/2017.2/3.fc25/data/logs/x86_64/build.log>

Anything that uses autocleanups should *always* be initialized directly I think,
even if a few lines down we directly assign, since this way it's more robust
against refactoring.

And the `freopen()` warnings are right - IMO we should *always* check return
values.

Closes: #711
Approved by: jlebon
src/ostree/ostree-trivial-httpd.c
src/ostree/ot-builtin-admin.c
src/ostree/ot-builtin-remote.c
src/ostree/ot-main.c